{{response.files.append(URL(r=request,c='static',f='jquery.dataTables.min.js'))}}
{{response.files.append(URL(r=request,c='static',f='demo_table.css'))}}
{{extend 'layout.html'}}

<table id="list_organizations">
<th>{{=T("Organization")}}</th>
<th>{{=T("Url")}}</th>
<th>{{=T("Address")}}</th>
<th>{{=T("Phone")}}</th>
<th>{{=T("Phone Long Distance")}}</th>
<th>{{=T("Actions")}}</th>
{{for organization in organizations:}}
<tr>
    <td><a href="{{=URL(r=request,f='view_organization',args=organization.id)}}">{{=organization.name}}</a></td>
    <td>{{=organization.url}}</td>
    <td>{{=organization.address}}</td>
    <td>{{=organization.phone}}</td>
    <td>{{=organization.phone_long_distance}}</td>
    <td>    <a href="{{=URL(r=request,f='edit_organization',args=organization.id)}}">{{=T('Edit Organization')}}</a>
    </td>
</tr>
{{pass}}
</table>

<!--
{{=BEAUTIFY(session)}}
 -->
